* {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    background-color: rgb(116,90,234);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 0;
    height: 40px;
    background-color: white;
    padding: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s linear;
}

input {
    width: 100%;
    height: 30px;
    border: none;
    outline: none;
}

button {
    width: 50px;
    height: 50px;
    background:white url("../images/search.png") center/50% 50% no-repeat;
    border: none;
    position: absolute;
    right: -40px;
}